home *** CD-ROM | disk | FTP | other *** search
- // Password input box
- // Michael J. Campbell, 1994
-
- #include <graphics.h>
- #include "button.h"
-
- void set_up(void)
- {
- // Make input box objects
- button area(200,200,440,290,LIGHTGRAY,2,0,DEFAULT_FONT,1,0,"");
- button input(260,235,380,250,LIGHTGRAY,2,1,SMALL_FONT,4,0,"");
-
- // Display boxes
- area.draw();
- input.press();
-
- settextjustify(CENTER_TEXT,CENTER_TEXT);
- setcolor(BLACK);
- outtextxy(320,210,"Enter Your Password");
- outtextxy(320,275,"Type 'CHANGE' To Change Password");
- line(210,220,430,220);
-
- }